<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			ul{
				padding: 0;
				margin: 0;
			}
			ul li{
				list-style: none;
				padding: 5px 10px;
			}
			ul{
				width: 20%;
				display: flex;
				justify-content: space-evenly;
				margin: 0 auto;
			}
		</style>
	</head>
	<body>
		<center>
			<table border="1" cellpadding="10" cellspacing="0">
				<caption>用户列表</caption>
				<tr>
					<th>id</th>
					<th>用户名</th>
					<th>密码</th>
					<th>操作</th>
				</tr>
				{volist name="user_list" id="vo"}
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.user}</td>
					<td>{$vo.pwd}</td>
					<td><a href="del?id={$vo.id}">删除</a>&nbsp;<a href="set?id={$vo.id}">修改</a></td>
				</tr>
				{/volist}
			</table>
			{$user_list->render()|raw}
		</center>
	</body>
</html>
